<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
<link href="./layui/css/layui.css" rel="stylesheet">
<script src="./layui/layui.js"></script>

</head>
<body background="./images/bg.png">
	<div class="layui-container">

		<div class="layui-row" style="height: 80px;">
			<div class="layui-col-md4" style="height:80px"></div>
			<div class="layui-col-md4" style="height: 80px">
				<h1 align="center" class="layui-bg-cyan">文件管理小助手</h1>
			</div>
			<div class="layui-col-md4" style="height: 93px"></div>
		</div>

		<div class="layui-anim layui-anim-up">
			<div class="layui-row" style="height: 421px;">
				<div class="layui-col-md6" style="width: 380px; height: 421px">

				</div>
				<div class="layui-col-md6" style="width: 450px">
					<form class="layui-form" style="padding-top: 100px"
						action="./fileUpload" enctype="multipart/form-data" method="post">

						<div class="layui-form-item">
							<label class="layui-form-label layui-bg-cyan">上传人:</label>
							<div class="layui-input-inline">
								<input id="name" type="text" name="name" required
									lay-verify="required" placeholder="请输入上传人" autocomplete="off"
									class="layui-input">
							</div>
						</div>

						<div class="layui-form-item">
							<label class="layui-form-label layui-bg-cyan">选择类型:</label>
							<div class="layui-input-inline">
								<select name="type" lay-verify="">
									<option value="">请选择文件类型</option>
									<option value="ppt">ppt</option>
									<option value="txt">txt</option>
									<option value="docx">docx</option>
									<option value="png">png</option>
								</select>
							</div>
						</div>


						<div class="layui-form-item">
							<label class="layui-form-label layui-bg-cyan">请选择文件:</label>
							<div class="layui-input-inline">
								<input id="file" type="file" name="uploadfile"
									multiple="multiple" required lay-verify="required"
									placeholder="请输入文件名" autocomplete="off" class="layui-input" />
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn layui-btn-radius layui-btn-normal"
									lay-submit lay-filter="formDemo" id="submit">立即提交</button>
								<button type="reset"
									class="layui-btn layui-btn-radius layui-btn-primary">重置</button>
							</div>
						</div>

					</form>
				</div>
			</div>
			<button type="button" class="layui-btn" id="test1">
			<i class="layui-icon">&#xe770;</i>管理员登陆
		</button>
		</div>

	</div>

	<script>
		layui.use('form', function() {
			var form = layui.form;
		});
	</script>
</body>
</html>
